home *** CD-ROM | disk | FTP | other *** search
- /* $VER: savelist.rexx 1.0 (25.03.98)
- * Saves the all selected entries into a file
- */
-
- options results
-
- sfportname = 'SIMPLEFIND.1'
-
- /* Check if SimpleFind is loaded */
-
- if ~show('p',sfportname) then do
- say "SimpleFind isn't running"
- end
-
- address value sfportname
-
- getselentries
- entries = result
-
- getfirstselentrypos
- fs = result
-
- setentrypos fs
-
- open(outfile,'RAM:test.list','W')
-
- do for entries
- /* get current entry and move cursor to the next selected entry */
- getselentrynext
-
- /* write the entries name to the file */
- writeln(outfile,entry.name)
- end
-
- close(outfile)
-
-